import { Opt } from '__com/Opt.js'
import ruleOpt from '@/option/rule.js'

export class editOpt extends Opt {
  constructor() {
    super()
  }

  create() {
    return [
      {
        title: '姓名',
        key: 'userName',
        input: {},
        placeholder: '请输入姓名',
        rules: [ruleOpt.required('姓名不能为空')]
      },
      {
        title: '手机号',
        key: 'account',
        text: {}
      }
    ]
  }
}
